package com.szh.mysobproject.viewmodel.app

import com.szh.mysobproject.http.ServiceCreator
import com.szh.mysobproject.http.request.api.PhotoApi

/**
 * @author : create by  szh
 * @date : 2022/7/14 10:57
 * @desc :图片获取
 */

object PhotoNetwork {

    private val photoApi = ServiceCreator.create<PhotoApi>()

    suspend fun loadWallpaperBannerList() = photoApi.loadWallpaperBannerList((0..175).random())
}